package com.yaj.myfactorysupport.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * PCB作业流程配置主表
 * </p>
 *
 * @author wei
 * @since 2021-05-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("TM_PCB_WORKFLOW")
@ApiModel(value="TmPcbWorkflow对象", description="PCB作业流程配置主表")
public class TmPcbWorkflow implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID")
    @TableId(value = "ID", type = IdType.ASSIGN_ID)
    private Long id;

    @ApiModelProperty(value = "程序类型")
    @TableField("PROGARM_TYPE")
    private String progarmType;

    @ApiModelProperty(value = "当前页面No")
    @TableField("PAGENO")
    private String pageno;

    @ApiModelProperty(value = "当前页面名")
    @TableField("PAGE_NAME")
    private String pageName;

    @ApiModelProperty(value = "当前页面URL")
    @TableField("URL")
    private String url;

    @ApiModelProperty(value = "次页页面No")
    @TableField("NEXT_PAGE_NO")
    private String nextPageNo;

    @ApiModelProperty(value = "前页页面No")
    @TableField("PRETENT_PAGE_NO")
    private String pretentPageNo;

    @ApiModelProperty(value = "是否有效")
    @TableField("ACTIVE_FLAG")
    @TableLogic
    private String activeFlag;

    @ApiModelProperty(value = "作成者")
    @TableField("CREATED_BY")
    private String createdBy;

    @ApiModelProperty(value = "作成时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTimestamp;

    @ApiModelProperty(value = "更新者")
    @TableField("UPDATED_BY")
    private String updatedBy;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTimestamp;


}
